package com.linkhub.oms.admin.modules.order.domain.param;

import com.linkhub.oms.admin.modules.user.domain.param.BaseUserParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @Description: BaseMultiOrderParam
 * @Author: echo
 * @Date: 2024/4/9 21:59
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BaseMultiOrderParam extends BaseUserParam implements Serializable {

    @Valid
    @NotEmpty(message = "{validation.order.sysOrderIds.notEmpty}")
    private List<BaseSingleOrderParam> shopOrders;
}
